home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Answers 1998 January
/
PC Answers Issue 49 Cover CD January 1998.iso
/
LIBS
/
CIS303
/
SCRIPTS.LIB
/
POSSERVE.SCR
< prev
next >
Wrap
Text File
|
1997-01-30
|
957b
|
51 lines
!
! Copyright (c) 1997
! by CompuServe Incorporated, Columbus, Ohio
!
! The information in this software is subject to change without
! notice and should not be construed as a commitment by CompuServe.
!
! Pos-Serve:
! Connect to Pos-Serve
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "4.0"
!-V
show "Connecting to HANJIN-NET";
Tries = 5;
on cancel goto Return_Cancel;
Wait_PosServe:
wait until 5;
show "Sending HANJIN-NET address...";
send "cns" & %CR;
goto Wait2_PosServe;
Wait2_PosServe:
if Tries = 0 goto PosServe_Failure;
Tries = Tries - 1;
wait
"Name:" goto Return_Success,
%mdm_Failure goto PosServe_Failure
until 80;
goto Wait_PosServe;
PosServe_Failure:
define %FailureMsg = "HANJIN-NET not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;